import junit.framework.*;

public class EqualsDemoTest extends TestCase {

		EqualsDemo d1;

		EqualsDemo d2;

	public void setUp(){
		d1 = new EqualsDemo();
		d2 = new EqualsDemo();
	}

	public EqualsDemoTest(String name){
		super(name);
	}
	public void testSymmetry(){
		assert (d1.equals(d1));
	}
	public void testSymmetric(){
		assert(d1.equals(d2) && d2.equals(d1));
	}

	public void testCaution(){
		assert(!d1.equals(null));
	}
}
